package com.xoa.model.workflow;

import com.xoa.model.users.Users;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

public class FlowFast {

	private FlowProcess flowProcesses;

	private FlowTypeModel flowTypeModel;

	private FlowFormType flowFormType;

	private FlowRun flowRun;

	private FlowRunPrcs flowRunPrcs;

	private List<FlowProcess> listFp;
	//转出条件
	private String prcsOut;
	//转入条件
	private String prcsIn;
	//转出逻辑表达式
	private String prcsOutSet;
	//转入逻辑表达式
	private String prcsInSet;

	private String conditionDesc;

	private String prcsUser;

	private  List<Users> prcsUserlist;

	private String prcsDept;

	private List<Users> prcsDeptlist;

	private String prcsPriv;

	private List<Users> prcsPrivlist;
	//可写字段串
	private String prcsItem;
	//必填字段串
	private String requiredItem;
	//保密字段串
	private String hiddenItem;
	//选人过滤规则
	private String userFilter;
	//过滤后角色
	private List<Users> userFilterlist;
	//自动选人规则
	private String autoType;
	//是否允许会签
	private String feedback;
	//公共附件中的Office文档详细权限设置：(1-新建权限,2-编辑权限,3-删除权限,4-下载权限,5-打印权限,)
	private String attachPriv;
	//是否允许回退
	private String allowBack;
	//会签意见可见性
	private String signlock;
    //是否允许传阅
	private String isViewPriv;
	//传阅用户
	private List<Users> listView;
	//是否允许强制转交
	private String gatherNodePriv;
	//存储当前用户姓名
	private String userName;

	//文号是否可编辑
	private String isWorkName;

	//强制转交，经办人未办理完毕时是否允许主办人强制转交(0-不允许,1-允许,)
	private String checkTurnPriv;

	/*所有经办角色的键值对
	 */
	private Map<String, List<Users>> allprcsUserlist;

	public Map<String, List<Users>> getAllprcsUserlist() {
		return allprcsUserlist;
	}

	public void setAllprcsUserlist(Map<String, List<Users>> allprcsUserlist) {
		this.allprcsUserlist = allprcsUserlist;
	}

	//强制转交的经办人集合
	private List<FlowRunPrcs> listTurnPriv;

	public List<FlowRunPrcs> getListTurnPriv() {
		return listTurnPriv;
	}

	public void setListTurnPriv(List<FlowRunPrcs> listTurnPriv) {
		this.listTurnPriv = listTurnPriv;
	}

	public String getCheckTurnPriv() {
		return checkTurnPriv;
	}

	public void setCheckTurnPriv(String checkTurnPriv) {
		this.checkTurnPriv = checkTurnPriv;
	}

	public String getIsWorkName() {
		return isWorkName;
	}

	public void setIsWorkName(String isWorkName) {
		this.isWorkName = isWorkName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getGatherNodePriv() {
		return gatherNodePriv;
	}

	public void setGatherNodePriv(String gatherNodePriv) {
		this.gatherNodePriv = gatherNodePriv;
	}

	public List<Users> getListView() {
		return listView;
	}

	public void setListView(List<Users> listView) {
		this.listView = listView;
	}

	public String getIsViewPriv() {
		return isViewPriv;
	}

	public void setIsViewPriv(String isViewPriv) {
		this.isViewPriv = isViewPriv;
	}

	public String getConditionDesc() {
		return conditionDesc == null?"":conditionDesc;
	}

	public void setConditionDesc(String conditionDesc) {
		this.conditionDesc = conditionDesc;
	}

	public String getSignlock() {
		return signlock;
	}

	public void setSignlock(String signlock) {
		this.signlock = signlock;
	}

	public String getAllowBack() {
		return allowBack;
	}

	public void setAllowBack(String allowBack) {
		this.allowBack = allowBack;
	}

	public String getAttachPriv() {
		return attachPriv==null?"":attachPriv;
	}

	public void setAttachPriv(String attachPriv) {
		this.attachPriv = attachPriv;
	}

	private List<Users> autoTypelist;

	private List<Users> allUser;

	public String getFeedback() {
		return feedback==null?"":feedback;
	}

	public void setFeedback(String feedback) {
		this.feedback = feedback;
	}

	public List<Users> getAllUser() {
		return allUser;
	}

	public void setAllUser(List<Users> allUser) {
		this.allUser = allUser;
	}

	public String getUserFilter() {
		return userFilter==null?"":userFilter;
	}

	public void setUserFilter(String userFilter) {
		this.userFilter = userFilter;
	}

	public List<Users> getUserFilterlist() {
		return userFilterlist==null?new ArrayList<Users>():userFilterlist;
	}

	public void setUserFilterlist(List<Users> userFilterlist) {
		this.userFilterlist = userFilterlist;
	}

	public String getAutoType() {
		return autoType==null?"":autoType;
	}

	public void setAutoType(String autoType) {
		this.autoType = autoType;
	}

	public List<Users> getAutoTypelist() {
		return autoTypelist==null?new ArrayList<Users>():autoTypelist;
	}

	public void setAutoTypelist(List<Users> autoTypelist) {
		this.autoTypelist = autoTypelist;
	}

	public String getHiddenItem() {
		return hiddenItem==null?"":hiddenItem;
	}

	public void setHiddenItem(String hiddenItem) {
		this.hiddenItem = hiddenItem;
	}

	public String getPrcsItem() {
		return prcsItem==null?"":prcsItem;
	}

	public void setPrcsItem(String prcsItem) {
		this.prcsItem = prcsItem;
	}

	public String getRequiredItem() {
		return requiredItem==null?"":requiredItem;
	}

	public void setRequiredItem(String requiredItem) {
		this.requiredItem = requiredItem;
	}

	public String getPrcsUser() {
		return prcsUser==null?"":prcsUser;
	}

	public void setPrcsUser(String prcsUser) {
		this.prcsUser = prcsUser;
	}

	public List<Users> getPrcsUserlist() {
		return prcsUserlist==null?new LinkedList<Users>():prcsUserlist;
	}

	public void setPrcsUserlist(List<Users> prcsUserlist) {
		this.prcsUserlist = prcsUserlist;
	}

	public String getPrcsDept() {
		return prcsDept;
	}

	public void setPrcsDept(String prcsDept) {
		this.prcsDept = prcsDept;
	}

	public List<Users> getPrcsDeptlist() {
		return prcsDeptlist==null?new LinkedList<Users>():prcsDeptlist;
	}

	public void setPrcsDeptlist(List<Users> prcsDeptlist) {
		this.prcsDeptlist = prcsDeptlist;
	}

	public String getPrcsPriv() {
		return prcsPriv;
	}

	public void setPrcsPriv(String prcsPriv) {
		this.prcsPriv = prcsPriv;
	}

	public List<Users> getPrcsPrivlist() {
		return prcsPrivlist==null?new LinkedList<Users>():prcsPrivlist;
	}

	public void setPrcsPrivlist(List<Users> prcsPrivlist) {
		this.prcsPrivlist = prcsPrivlist;
	}

	public String getPrcsOutSet() {
		return prcsOutSet;
	}

	public void setPrcsOutSet(String prcsOutSet) {
		this.prcsOutSet = prcsOutSet;
	}

	public String getPrcsInSet() {
		return prcsInSet;
	}

	public void setPrcsInSet(String prcsInSet) {
		this.prcsInSet = prcsInSet;
	}

	public String getPrcsIn() {
		return prcsIn;
	}

	public void setPrcsIn(String prcsIn) {
		this.prcsIn = prcsIn;
	}

	public String getPrcsOut() {
		return prcsOut;
	}

	public void setPrcsOut(String prcsOut) {
		this.prcsOut = prcsOut;
	}

	public List<FlowProcess> getListFp() {
		return listFp;
	}

	public void setListFp(List<FlowProcess> listFp) {
		this.listFp = listFp;
	}

	public FlowRunPrcs getFlowRunPrcs() {
		return flowRunPrcs;
	}

	public void setFlowRunPrcs(FlowRunPrcs flowRunPrcs) {
		this.flowRunPrcs = flowRunPrcs;
	}

	public FlowRun getFlowRun() {
		return flowRun;
	}

	public void setFlowRun(FlowRun flowRun) {
		this.flowRun = flowRun;
	}

	public FlowFormType getFlowFormType() {
		return flowFormType;
	}

	public void setFlowFormType(FlowFormType flowFormType) {
		this.flowFormType = flowFormType;
	}

	public FlowProcess getFlowProcesses() {
		return flowProcesses;
	}

	public void setFlowProcesses(FlowProcess flowProcesses) {
		this.flowProcesses = flowProcesses;
	}

	public FlowTypeModel getFlowTypeModel() {
		return flowTypeModel;
	}

	public void setFlowTypeModel(FlowTypeModel flowTypeModel) {
		this.flowTypeModel = flowTypeModel;
	}



}
